package com.j1ay.forum.model.pojo.vo;

import lombok.Data;

/**
 * @Author J1ay
 * @Date 2021/12/16 21:50
 * @Description 登录后用户信息
 */

@Data
public class LoginUserVo {
    private Long id;
    private String username;
    private String nickname;
    private String avatar;
    private String email;
    private Long RoleId;

    public LoginUserVo(Long id, String username, String nickname, String avatar, String email, Long RoleId) {
        this.id = id;
        this.username = username;
        this.nickname = nickname;
        this.avatar = avatar;
        this.email = email;
        this.RoleId = RoleId;
    }

    public LoginUserVo() {

    }
}
